﻿

using System;
using System.Text;
using System.Reflection;
using Microsoft.Practices.Unity.InterceptionExtension;
using System.Runtime.Caching;

using System.Collections.Generic;

namespace DanGao.Infrastructure.Log
{
    /// <summary>
    /// 日志工厂
    /// </summary>
    public abstract class LogFactory
    {
        public static ILog GetLogInstance()
        {
            return new LogText();
        }
        public static ILog GetLogInstance(LogType Type) 
        {
            return Type == LogType.DataBase ? new LogDatabase() as ILog : new LogText() as ILog;
        }
    }

}
